package com.un.ebs.contract.domain;

import java.util.Date;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.*;
import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import org.springframework.stereotype.Component;
import lombok.Data;
import com.un.ebs.core.metadata.DbField;

/**
 * (ContractItemView)表实体类
 *
 * @author liubo
 * @since 2020-12-24 21:06:05
 */
@Data
@Component
@TableName("v_contract_item_view")
@SuppressWarnings("serial")
public class ContractItemView extends Model<ContractItemView> {

                
    @DbField(name = "id",  length = 40 , precision = 0)
    private String id;
                
    @DbField(name = "contract_id",  length = 40 , precision = 0)
    private String contractId;
                
    @DbField(name = "business_ent_id",  length = 40 , precision = 0)
    private String businessEntId;
                
    @DbField(name = "business_ent_name",  length = 100 , precision = 0)
    private String businessEntName;
                
    @DbField(name = "type",  length = -1 , precision = 0)
    private Integer type;
                
    @DbField(name = "is_frame",  length = -1 , precision = 0)
    private Boolean isFrame;
                
    @DbField(name = "is_temp",  length = -1 , precision = 0)
    private Boolean isTemp;
                
    @DbField(name = "ver",  length = -1 , precision = 0)
    private Integer ver;
                
    @DbField(name = "code",  length = 50 , precision = 0)
    private String code;
                
    @DbField(name = "personnel_id",  length = 40 , precision = 0)
    private String personnelId;
                
    @DbField(name = "personnel_name",  length = 50 , precision = 0)
    private String personnelName;
                
    @DbField(name = "submit_at_name",  length = 50 , precision = 0)
    private String submitAtName;
                
    @DbField(name = "submit_time",  length = -1 , precision = 0)
    private Date submitTime;
                
    @DbField(name = "submit_status",  length = -1 , precision = 0)
    private Boolean submitStatus;
                
    @DbField(name = "audit_at_name",  length = 50 , precision = 0)
    private String auditAtName;
                
    @DbField(name = "audit_time",  length = -1 , precision = 0)
    private Date auditTime;
                
    @DbField(name = "audit_status",  length = -1 , precision = 0)
    private Boolean auditStatus;
            
    @TableLogic        
    @DbField(name = "is_delete",  length = -1 , precision = 0)
    private Boolean isDelete;
                
    @DbField(name = "start_date",  length = -1 , precision = 0)
    private Date startDate;
                
    @DbField(name = "end_date",  length = -1 , precision = 0)
    private Date endDate;
                
    @DbField(name = "remark",  length = 1000 , precision = 0)
    private String remark;
                
    @DbField(name = "workflow_pass_status",  length = -1 , precision = 0)
    private Boolean workflowPassStatus;
                
    @DbField(name = "workflow_instance_id",  length = 40 , precision = 0)
    private String workflowInstanceId;
                
    @DbField(name = "sku_id",  length = 40 , precision = 0)
    private String skuId;
                
    @DbField(name = "price",  length = 18 , precision = 4)
    private Double price;
                
    @DbField(name = "qty",  length = 18 , precision = 4)
    private Double qty;
                
    @DbField(name = "plan_deliver_date",  length = -1 , precision = 0)
    private Date planDeliverDate;
                
    @DbField(name = "tenant_id",  length = 40 , precision = 0)
    private String tenantId;
                
    @DbField(name = "last_customer_name",  length = 100 , precision = 0)
    private String lastCustomerName;
                
    @DbField(name = "warranty_month",  length = -1 , precision = 0)
    private Integer warrantyMonth;
                
    @DbField(name = "warranty_percent",  length = 18 , precision = 4)
    private Double warrantyPercent;
                
    @DbField(name = "settle_accounts",  length = 100 , precision = 0)
    private String settleAccounts;
                
    @DbField(name = "business_contract_code",  length = 50 , precision = 0)
    private String businessContractCode;


}